package cn.relx.block;

import cn.relx.domain.User;
import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.web.bind.annotation.PathVariable;

public class getByIdBlockHandlerClass {
    public static User getByIdBlockHandler(@PathVariable("id") Long id, BlockException blockException){
        return new User(-1L,"链接堆起了","炸了！");
    }
}
